package com.sjs.boot.dynamic;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = {"com.sjs.boot"})
public class Application {
    private static final Logger LOG = LoggerFactory.getLogger(Application.class);

    public static void main(String[] args) {
        LOG.info("********************************************");
        LOG.info("**** starting Application *****");
        LOG.info("********************************************");
        SpringApplication application = new SpringApplication(Application.class);
        application.run(args);
    }
}
